]> dgit.raspbian.org Git - gnome-shell.git/commit
telepathy: Use string.replace in a way compatible with newer Spidermonkey
authorColin Walters <walters@verbum.org>
Fri, 24 Sep 2010 17:55:12 +0000 (13:55 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 30 Sep 2010 16:43:12 +0000 (12:43 -0400)
commite22fbda689153570b8fbaee3dfbe2a583c53ed98
treedadb11075cd6d0ae0336d68c98bc4ae4c1a4c43e
parent11db188fe9ad7c8b7eb9e997a966ccb0df4d3466
telepathy: Use string.replace in a way compatible with newer Spidermonkey

The semantics of the first argument changed from literal -> regexp
if the 'g' option was specified.  To remove ambiguity, stop using
the spidermonkey extension and create a standard RegExp object.

https://bugzilla.gnome.org/show_bug.cgi?id=630539
js/misc/telepathy.js